package com.rental.web.service;

import com.rental.model.entity.user.UserInfo;
import com.rental.model.form.user.GetRecordForm;
import com.rental.model.form.user.PhoneAndCodeForm;
import com.rental.model.vo.user.RecordVo;

import java.util.List;

public interface UserInfoService {

    String sendCode(PhoneAndCodeForm phoneAndCodeForm);

    String login(PhoneAndCodeForm phoneAndCodeForm);

    UserInfo getUserInfo(Long userId);

    RecordVo getMyRelease(GetRecordForm getRecordForm);

    UserInfo getUserById(Long id);

    RecordVo getBrowseRecord(GetRecordForm getRecordForm);

    RecordVo getCollectInfo(GetRecordForm getRecordForm);

    List<UserInfo> getAllUserInfo();


}
